import axios from '../axios'

// 登录
export const login = (data) => {
    return axios({
      url: '/login',
      method: 'post',
      data
  })
}

// 登出
export const logOut = () => {
  return axios({
    url: '/logOut',
    method: 'get'
  })
}